package com.haliyoo.adhs.dao;

import java.util.List;

import com.haliyoo.adhs.common.ResultData;
import com.haliyoo.adhs.exception.DaoLevelException;
import com.haliyoo.adhs.model.User;

public interface UserDao {
	public List<User> findAll() throws DaoLevelException;

    public void save(User user) throws DaoLevelException;

    public void remove(User user) throws DaoLevelException;

    public User find(Integer id) throws DaoLevelException;
    
    public User findByName(String userName) throws DaoLevelException;
    
    public User findByWeiboUserId(Integer weiboUserId, Short weiboFlag) throws DaoLevelException;
  
    
}

